﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="A_Maintain.aspx.cs" Inherits="A_MaintainPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:LinkButton ID="LinkButton1" runat="server" Font-Underline="False" OnClick="LinkButton1_Click">首页</asp:LinkButton>
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<asp:LinkButton ID="LinkButton2" runat="server" Font-Underline="False" OnClick="LinkButton2_Click">学生基本信息</asp:LinkButton>
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
        <asp:LinkButton ID="LinkButton3" runat="server" Font-Underline="False" OnClick="LinkButton3_Click">教师基本信息</asp:LinkButton>
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
        <asp:LinkButton ID="LinkButton4" runat="server" Font-Underline="False" OnClick="LinkButton4_Click">课程基本信息</asp:LinkButton>
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
        <br />
        <br />
        <br />
        
    </div>
    <div>
            <!--datagrid 用于数据绑定显示表格信息-->
            <asp:datagrid   id="dg1" runat="server"	 
                BorderColor="Black"
                BorderWidth="1px"
                CellPadding="3"
                Font-Size="8pt"
                OnEditCommand="MyDataGrid_Edit"
                OnCancelCommand="MyDataGrid_Cancel"
                OnUpdateCommand="MyDataGrid_Update"
                OnDeleteCommand="MyDataGrid_Delete"
                OnPageIndexChanged="MyDataGrid_Page" Width="667px" Font-Names="Verdana" PagerStyle-HorizontalAlign="Right"
                PagerStyle-Mode="NumericPages" AllowPaging="True"  HorizontalAlign="Center" 
               >
            
                        <HeaderStyle BackColor="#AAAADD"/>
                        <EditItemStyle BackColor="Yellow"/>
                        <PagerStyle HorizontalAlign="Right" Mode="NumericPages"></PagerStyle>

		                <columns>

		                        <asp:EditCommandColumn
                                     EditText="Edit"  
                                     CancelText="Cancel"
                                     UpdateText="Update"
                                     HeaderText="信息">
                                     <ItemStyle Wrap="False"/>
                                     <HeaderStyle Wrap="False"/>
                                 </asp:EditCommandColumn >
		                          <asp:ButtonColumn CommandName="Delete" Text="Delete"></asp:ButtonColumn>
		                </columns>
	         </asp:datagrid>
	         
	          <p style="FONT-SIZE:9pt" align="center">    <!--用于分页-->
  
            <asp:label id="lblPageCount" runat="server"></asp:label>&nbsp;
            <asp:label id="lblCurrentIndex" runat="server"></asp:label>
            <asp:linkbutton id="btnFirst" onclick="PagerButtonClick" runat="server" Font-Names="verdana"
  	                        Font-size="8pt" ForeColor="navy" CommandArgument="0"></asp:linkbutton>&nbsp;
            <asp:linkbutton id="btnPrev" onclick="PagerButtonClick" runat="server" Font-Names="verdana"
  	                        Font-size="8pt" ForeColor="navy" CommandArgument="prev"></asp:linkbutton>&nbsp;
            <asp:linkbutton id="btnNext" onclick="PagerButtonClick" runat="server" Font-Names="verdana"
  	                        Font-size="8pt" ForeColor="navy" CommandArgument="next"></asp:linkbutton>&nbsp;
            <asp:linkbutton id="btnLast" onclick="PagerButtonClick" runat="server" Font-Names="verdana"
  	                        Font-size="8pt" ForeColor="navy" CommandArgument="last"></asp:linkbutton>
                  </p>
	         
	</div>
    <div>
        <asp:Panel ID="Panel1" runat="server" Height="50px" Width="925px" Visible="true">
        <asp:Label ID="Label1" runat="server" Text="id"></asp:Label>
        <asp:TextBox ID="TextBox1" runat="server" Width="104px"></asp:TextBox>
        <asp:Label ID="Label2" runat="server" Text="name"></asp:Label>
        <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
        <asp:Label ID="Label3" runat="server" Text="gender"></asp:Label>
        <asp:RadioButton ID="RadioButton1" runat="server" Text="男" AutoPostBack="True" EnableTheming="True" OnCheckedChanged="RadioButton1_CheckedChanged" />&nbsp;
        <asp:RadioButton ID="RadioButton2" runat="server" Text="女" AutoPostBack="True" OnCheckedChanged="RadioButton2_CheckedChanged" />
        &nbsp;&nbsp;
        <!--
        <asp:RadioButtonList ID="RadioButtonList1" runat="server">
　　　　　    <asp:ListItem>男</asp:ListItem>
　　　　      <asp:ListItem>女</asp:ListItem>
         </asp:RadioButtonList>
         -->
        <asp:Label ID="Label4" runat="server" Text="collegeid"></asp:Label>&nbsp;
        <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox><br />
        &nbsp;
        <asp:Label ID="Label5" runat="server" Text="speciality"></asp:Label>
        <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
        <asp:Label ID="Label6" runat="server" Text="class"></asp:Label>
        <asp:DropDownList ID="DL1" runat="server" Width="146px">
            <asp:ListItem>请选择班级</asp:ListItem>
            <asp:ListItem>1</asp:ListItem>
            <asp:ListItem>2</asp:ListItem>   
            <asp:ListItem>3</asp:ListItem>
        </asp:DropDownList>
        <asp:Label ID="Label7" runat="server" Text="phone"></asp:Label>
        <asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
        <asp:Label ID="Label8" runat="server" Text="email"></asp:Label>
        <asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>
        <asp:Button ID="Button1" runat="server" Text="提交" Width="59px" OnClick="Button1_Click" />
        </asp:Panel>
        <br />
        <br />
      </div>
      
      <div>
        &nbsp;
        <asp:Panel ID="Panel2" runat="server" Height="50px" Width="825px" Visible="true">
        <asp:Label ID="Label9" runat="server" Text="id"></asp:Label>
        <asp:TextBox ID="TextBox7" runat="server"></asp:TextBox>
        <asp:Label ID="Label10" runat="server" Text="name"></asp:Label>
        <asp:TextBox ID="TextBox8" runat="server"></asp:TextBox>
        <asp:Label ID="Label11" runat="server" Text="gender"></asp:Label>
        <asp:RadioButton ID="RadioButton3" runat="server" Text="男" AutoPostBack="True" EnableTheming="True" OnCheckedChanged="RadioButton3_CheckedChanged" />&nbsp;
        <asp:RadioButton ID="RadioButton4" runat="server" Text="女" AutoPostBack="True" OnCheckedChanged="RadioButton4_CheckedChanged" />
        <asp:Label ID="Label12" runat="server" Text="职称"></asp:Label> 
        <asp:DropDownList ID="DL2" runat="server" Width="158px">
         <asp:ListItem>请选择职称</asp:ListItem>
            <asp:ListItem>教授</asp:ListItem>
            <asp:ListItem>副教授</asp:ListItem>   
            <asp:ListItem>讲师</asp:ListItem>
        </asp:DropDownList>&nbsp;<br />
        <asp:Label ID="Label13" runat="server" Text="collegeid"></asp:Label>
          <asp:TextBox ID="TextBox9" runat="server"></asp:TextBox>
        <asp:Label ID="Label14" runat="server" Text="phone"></asp:Label>
          <asp:TextBox ID="TextBox10" runat="server"></asp:TextBox>
        <asp:Label ID="Label15" runat="server" Text="email"></asp:Label>
          <asp:TextBox ID="TextBox11" runat="server"></asp:TextBox>
            &nbsp;&nbsp;
            <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="提交" Width="56px" /><br />
          </asp:Panel>
          <br />
      </div>  
       <br />
       
       <div>
       <asp:Panel ID="Panel3" runat="server" Height="50px" Width="825px" Visible="true">
           <asp:Label ID="Label23" runat="server" Text="id"></asp:Label>&nbsp;
           <asp:TextBox ID="TextBox19" runat="server"></asp:TextBox>
           <asp:Label ID="Label24" runat="server" Text="name"></asp:Label>&nbsp;
           <asp:TextBox ID="TextBox20" runat="server"></asp:TextBox>
           <asp:Label ID="Label25" runat="server" Text="collegeid"></asp:Label>
           <asp:TextBox ID="TextBox21" runat="server"></asp:TextBox>
           <asp:Label ID="Label26" runat="server" Text="teacherid"></asp:Label>
           <asp:TextBox ID="TextBox22" runat="server"></asp:TextBox>
           <br />
           <asp:Label ID="Label27" runat="server" Text="time"></asp:Label>
           <asp:TextBox ID="TextBox23" runat="server"></asp:TextBox>
           <asp:Label ID="Label28" runat="server" Text="room"></asp:Label>
           <asp:TextBox ID="TextBox24" runat="server"></asp:TextBox>
           <asp:Label ID="Label29" runat="server" Text="credit"></asp:Label>
           <asp:TextBox ID="TextBox25" runat="server"></asp:TextBox>
           <asp:Button ID="Button3" runat="server" OnClick="Button3_Click" Text="提交" Width="57px" /></asp:Panel>
       </div> 

        <!--
       <div>
          <asp:Label ID="Label16" runat="server" Text="id"></asp:Label>&nbsp;
           <asp:TextBox ID="TextBox12" runat="server"></asp:TextBox>
           <asp:Label ID="Label17" runat="server" Text="name"></asp:Label>&nbsp;
           <asp:TextBox ID="TextBox13" runat="server"></asp:TextBox>
           <asp:Label ID="Label18" runat="server" Text="collegeid"></asp:Label>
           <asp:TextBox ID="TextBox14" runat="server"></asp:TextBox>
           <asp:Label ID="Label19" runat="server" Text="teacherid"></asp:Label>
           <asp:TextBox ID="TextBox15" runat="server"></asp:TextBox>
           <br />
           <asp:Label ID="Label20" runat="server" Text="time"></asp:Label>
           <asp:TextBox ID="TextBox16" runat="server"></asp:TextBox>
           <asp:Label ID="Label21" runat="server" Text="room"></asp:Label>
           <asp:TextBox ID="TextBox17" runat="server"></asp:TextBox>
           <asp:Label ID="Label22" runat="server" Text="credit"></asp:Label>
           <asp:TextBox ID="TextBox18" runat="server"></asp:TextBox>
           </div>
           -->
    </form>
</body>
</html>
